<script>
	$(document).ready(function(){
		
		$('#kd_fakultas').change(function(){
			$('#kd_prodi').load(base_url+'prosedur/getProdibyFakultas/'+$('#kd_fakultas').val());
		});
		
		
	});
</script>

<form id="form1" method="post" style="margin:10px;">
	<input type="hidden" name="id_pejabat" id="id_pejabat" value="<?=$id_pejabat?>">
	<div class="fitem" >
		<label style="width:100px">Universitas </label>:
		<select id="kd_pt" name="kd_pt" style="width:200px;">
			<?=$this->mdl_prosedur->OptionUniversitas();?>
		</select>
	</div>
	<div class="fitem" >
		<label style="width:100px">Nama </label>:
		<input name="Nama" size="29" required="true" value="<?=$Nama?>">
	</div>
	<div class="fitem" >
		<label style="width:100px">Fakultas </label>:
			<select id="kd_fakultas" name="kd_fakultas" style="width:200px;">
					<?=$this->mdl_prosedur->OptionFakultas(array('value'=>$kd_fakultas));?>
			</select>
	</div>	
	<div class="fitem" >
		<label style="width:100px">Prodi  </label>:
			<select id="kd_prodi" name="kd_prodi" style="width:200px;">
					<?=$this->mdl_prosedur->OptionProdi(array('value'=>$kd_prodi, 'kd_fakultas'=>$kd_fakultas));?>
			</select>
	</div>	
	<div class="fitem" >
		<label style="width:100px">Jabatan </label>:
		<select id="JenisJabatanID" name="JenisJabatanID" style="width:200px;">
			<?=$this->mdl_prosedur->OptionJabatan(array('value'=>$JenisJabatanID));?>
		</select>
	</div>
	<div class="fitem" >
		<label style="width:100px">Status</label>:		
		<input type="checkbox" name="status" <?=$status=='A'?'checked':''?>/> Aktif
	</div>
</form>
	

